花费 39 ms
使用go tool pprof分析内存泄漏、CPU消耗

go中提供了pprof包来做代码的性能监控,在两个地方有包: net/http/pprof runtime/pprof 其实net/http/pprof中只是使用runtime/ppr ...

Mon May 09 21:49:00 CST 2016 0 31085

 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM